package com.medical.data.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cj
 * @since 2024-02-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FollowUpFormItem对象", description="")
public class FollowUpFormItem implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String followUpFormTemplateId;

    private String label;

    @ApiModelProperty(value = "输入型，选择型等")
    private String itemType;

    @ApiModelProperty(value = "0为非必填")
    private Integer required;

    @ApiModelProperty(value = "提示型数据")
    private String placeholder;

    @ApiModelProperty(value = "表单样式的json")
    private String scheme;

    @ApiModelProperty(value = "填入信息的校验")
    private String regList;

    @ApiModelProperty(value = "展示类型组件")
    private Boolean isDisplayType;

    @ApiModelProperty(value = "隐藏类型组件")
    private Boolean isHideType;

    @ApiModelProperty(value = "特殊处理类型")
    private Boolean isSpecialType;

    @ApiModelProperty(value = "是否显示标签")
    private Boolean showLabel;

    @ApiModelProperty(value = "表单项默认值")
    private String defaultValue;

    @ApiModelProperty(value = "排序")
    private Long sort;

    @ApiModelProperty(value = "栅格宽度")
    private Integer span;

    private Boolean isDelete;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
